package com.mine.distinctionteam.bean.shopcar;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import java.io.Serializable;
/**
 *
 */
@DatabaseTable(tableName="tb_shop")
public class ShopCarBean implements Serializable {
    @DatabaseField(generatedId=true)
    private int id;
    @DatabaseField(columnName="name")
    private String name;
    @DatabaseField(columnName="url")
    private String url;
    @DatabaseField(columnName="shopid")
    private int shopid;
    @DatabaseField(columnName="nickname")
    private String nickname;
    @DatabaseField(columnName="price")
    private String price;
    @DatabaseField(columnName="oldprice")
    private String oldprice;
    @DatabaseField(columnName="buy")
    private boolean buy;

    public boolean getBuy() {
        return buy;
    }

    public void setBuy(boolean buy) {
        this.buy = buy;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getShopid() {
        return shopid;
    }

    public void setShopid(int shopid) {
        this.shopid = shopid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getOldprice() {
        return oldprice;
    }

    public void setOldprice(String oldprice) {
        this.oldprice = oldprice;
    }

    public ShopCarBean(String name, String url, int shopid, String nickname, String price, String oldprice, boolean buy) {
        this.name = name;
        this.url = url;
        this.shopid = shopid;
        this.nickname = nickname;
        this.price = price;
        this.oldprice = oldprice;
        this.buy = buy;
    }

    public ShopCarBean() {
    }
}
